package edu.gatech.cs2340.OregonTrail.EventSystem;

import edu.gatech.cs2340.OregonTrail.Item;

public class WagonEvent extends ActorEvent{

	private String message;
	private Item brokenItem;
	
	public WagonEvent(Object source, Item brokenItem, String message){
		this.source = source;
		this.brokenItem = brokenItem;
		this.message = message;
	}
	
	public String getMessage(){
		return this.message;
	}
	
	public Item getBrokenItem(){
		return this.brokenItem;
	}
	
	public Object getSource() {
		return this.source;
	}

}
